import { ProfileFinder } from './profile';

export class Teamap {
    private static _finder: ProfileFinder = new ProfileFinder()


    static get Profiler(): ProfileFinder {
        return this._finder
    }

    static get profiles(): Profile[] {
        return this._finder.profiles
    }

    static get profileKeywords(): keywordsOf<Profile> {
        return this._finder.keywords
    }

    static async find(): Promise<ServiceReturnList<Profile>> {
        return this._finder.find()
    }
}